2 커밋 158f616392 ... 2ad19683b2

작성자 SHA1 메시지 날짜
  Andreas von Burg 2ad19683b2 Merge remote-tracking branch 'origin/master' into develop 1 개월 전
  nikolai e52272ea33 initial 3 년 전
2개의 변경된 파일과 86개의 추가작업 그리고 35개의 파일을 삭제
  1. 51 0
      app/internship/bo/Article.php
  2. 35 35
      composer.json

+ 51 - 0
app/internship/bo/Article.php

@@ -0,0 +1,51 @@
+<?php
+
+namespace internship;
+
+class Article {
+	private string $categoryName;
+	private string $text;
+	private string $title;
+
+	/**
+	 * @return string
+	 */
+	public function getCategoryName(): string {
+		return $this->categoryName;
+	}
+
+	/**
+	 * @param string $categoryName
+	 */
+	public function setCategoryName(string $categoryName): void {
+		$this->categoryName = $categoryName;
+	}
+
+	/**
+	 * @return string
+	 */
+	public function getText(): string {
+		return $this->text;
+	}
+
+	/**
+	 * @param string $text
+	 */
+	public function setText(string $text): void {
+		$this->text = $text;
+	}
+
+	/**
+	 * @return string
+	 */
+	public function getTitle(): string {
+		return $this->title;
+	}
+
+	/**
+	 * @param string $title
+	 */
+	public function setTitle(string $title): void {
+		$this->title = $title;
+	}
+}

+ 35 - 35
composer.json

@@ -1,38 +1,38 @@
 {
-    "name": "n2n/n2n-skeleton",
-    "description": "n2n skeleton application installable by Composer",
-    "type": "project",
-    "minimum-stability": "dev",
-    "prefer-stable": true,
-    "require": {
-        "n2n/n2n": "^7.4",
-        "n2n/n2n-batch": "^7.4",
-        "n2n/n2n-context": "^7.4",
-        "n2n/n2n-mail": "^7.4",
-        "n2n/n2n-impl-persistence-meta": "^7.4",
-        "n2n/n2n-impl-persistence-orm": "^7.4",
-        "n2n/n2n-impl-web-dispatch": "^7.4",
-        "n2n/n2n-impl-web-ui": "^7.4"
+	"name" : "hnm/internship-playground",
+	"description" : "playground for using rest api",
+	"type" : "project",
+	"minimum-stability" : "dev",
+	"prefer-stable" : false,
+	"require" : {
+		"n2n/n2n" : "^7.3",
+		"n2n/n2n-batch" : "^7.3",
+		"n2n/n2n-context" : "^7.3",
+		"n2n/n2n-impl-persistence-meta" : "^7.3",
+		"n2n/n2n-impl-persistence-orm" : "^7.3",
+		"n2n/rocket" : "^3.0",
+		"n2n/page" : "^1.6",
+		"lcobucci/jwt" : "4.0.4",
+		"n2n/n2n-bind": "^7.3"
     },
-    "require-dev": {
-        "n2n/hangar": "^7.4",
-        "n2n/n2n-test" : "^7.4",
-        "phpunit/phpunit" : "^9.5"
-    },
-    "autoload" : {
-        "psr-4" : {
-            "internship\\" : "src-php/app/internship"
-        }
-    },
-    "autoload-dev" : {
-        "psr-4" : {
-            "internship\\" : "src-php/test/internship"
-        }
-    },
-    "config": {
-        "vendor-dir" : "src-php/vendor",
-        "allow-plugins": {
-            "n2n/n2n-composer-module-installer": true
-        }
-    }
+	"require-dev" : {
+		"n2n/hangar" : "^8.0",
+		"n2n/n2n-test" : "^7.3",
+		"phpunit/phpunit" : "^9.5.25@stable"
+	},
+	"autoload" : {
+		"psr-4" : {
+			"em\\" : "app/em"
+		}
+	},
+	"autoload-dev" : {
+		"psr-4" : {
+			"em\\" : "app/em"
+		}
+	},
+	"config": {
+		"allow-plugins": {
+			"n2n/n2n-composer-module-installer": true
+		}
+	}
 }