---
title: "Discussion on \"Access modifiers in php\" | Hashnode"
description: "Discussion on \"Access modifiers in php\". If a method or property is declared as public this means it can be accessed from anywhere. When i say anywhere i mean anywhere in your application. either b"
url: "https://hashnode.com/posts/access-modifiers-in-php/60ba8ddbfffc4c13b9cd4f45"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Access modifiers in php](https://hannahokwelum.hashnode.dev/access-modifiers-in-php?utm_source=hashnode&utm_medium=feed)

If a method or property is declared as public this means it can be accessed from anywhere. When i say anywhere i mean anywhere in your application. either b

Jun 4, 2021 · 3 min read · hannahokwelum.hashnode.dev  
Updated Jun 8, 2021  
Read the article

-   [#accessibility](https://hashnode.com/tag/accessibility)
-   [#php](https://hashnode.com/tag/php)
-   [#oop](https://hashnode.com/tag/oop)

## Written by

[Hannah Onyinye](https://hashnode.com/@Annies)

@Annies

  
[View profile](https://hashnode.com/@Annies)

Backend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
